.class Lcom/waiqin365/lightapp/view/hh;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/TextView$OnEditorActionListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/SearchView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/SearchView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/hh;->a:Lcom/waiqin365/lightapp/view/SearchView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEditorAction(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
    .locals 2

    const/4 v0, 0x3

    if-eq p2, v0, :cond_0

    if-nez p2, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hh;->a:Lcom/waiqin365/lightapp/view/SearchView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/SearchView;->c(Lcom/waiqin365/lightapp/view/SearchView;)Lcom/waiqin365/lightapp/view/hm;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hh;->a:Lcom/waiqin365/lightapp/view/SearchView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/SearchView;->c(Lcom/waiqin365/lightapp/view/SearchView;)Lcom/waiqin365/lightapp/view/hm;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hh;->a:Lcom/waiqin365/lightapp/view/SearchView;

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/SearchView;->a(Lcom/waiqin365/lightapp/view/SearchView;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/view/hm;->a(Ljava/lang/String;)V

    :cond_1
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method
